package model;

import java.io.Serializable;

public class Teacher  implements Serializable{

	private String id = null;
    private String name = null;
    private String password = null;
    private String age = null;  
    private String sex = null;
    private Course teaching_course = null;

    public Teacher(String id, String password) {
        super();
        this.id = id;
        this.password = password;
    }
    @Override
    public String toString() {
        return "Teacher [id=" + id + ", name=" + name + ", password="
                + password + ", age=" + age + ", sex=" + sex
                + ", teaching_course=" + teaching_course + "]";
    }
    public Teacher(String id, String name, String password, String age,
            String sex, Course teaching_course) {
        super();
        this.id = id;
        this.name = name;
        this.password = password;
        this.age = age;
        this.sex = sex;
        this.teaching_course = teaching_course;
    }
    public Teacher() {
        super();
        // TODO Auto-generated constructor stub
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getAge() {
        return age;
    }
    public void setAge(String age) {
        this.age = age;
    }
    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }

    public Course getTeaching_course() {
        return teaching_course;
    }
    public void setTeaching_course(Course teaching_course) {
        this.teaching_course = teaching_course;
    }
}
